package test;

public class bank {

	int savemoney;
	int year;
	double interest;
	double interestrate = 0.29;
	public double computerinterest(){
		interest = year*interestrate*savemoney;
		return interest;
		
	}
	
	public void setinterestrate(double rate){
		interestrate = rate;
		
	}
	
	
	
}
